package com.wj.jiangan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wj.jiangan.pojo.Order;
import com.wj.jiangan.pojo.vo.OrderVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wj
 * @since 2019-11-05
 */
public interface IOrderService {
    /**
     * 订单信息
     *
     * @param page
     * @return
     */
    IPage<OrderVo> findOrderByPage(Page page, Map<String, Object> param);

    int saveOrder(Order order);


    IPage<OrderVo> queryOrderDetailByPage(Page page,Integer rid);

    /**
     *查询客户下的id
     */
    List<Object> queryOrderByid(Integer cid);
}
